package com.mt.customer.constants;

public class CustomerConstant {

    /**
     * 用户性别，0-未填写，1-男，2-女
     */
    public static Integer CUSTOMER_SEX_0 = 0;
    public static Integer CUSTOMER_SEX_1 = 1;
    public static Integer CUSTOMER_SEX_2 = 2;

    /**
     * 用户状态 0停用(未激活) 1正常 2注销
     * 
     */
    public static Integer CUSTOMER_STATUS_0 = 0;
    public static Integer CUSTOMER_STATUS_1 = 1;
    public static Integer CUSTOMER_STATUS_2 = 2;

    /**
     * 用户登录状态
     */
    public static Integer CUSTOMER_LOGIN_SESSION_STATUS_0 = 0;
    public static Integer CUSTOMER_LOGIN_SESSION_STATUS_1 = 1;

    /**
     * 用户账户状态，0-正常，1-停用
     *
     */
    public static Integer CUSTOMER_ACCOUNT_STATUS_0 = 0;
    public static Integer CUSTOMER_ACCOUNT_STATUS_1 = 1;
    /**
     * 用户账户日志变更类型，1-充值，2-赠送，3-消费，4-扣减
     *
     */
    public static Integer CUSTOMER_ACCOUNT_LOG_TYPE_1 = 1;
    public static Integer CUSTOMER_ACCOUNT_LOG_TYPE_2 = 2;
    public static Integer CUSTOMER_ACCOUNT_LOG_TYPE_3 = 3;
    public static Integer CUSTOMER_ACCOUNT_LOG_TYPE_4 = 4;

    /**
     * 用户账户日志变更方式，1-增加，2-减少
     */
    public static Integer CUSTOMER_ACCOUNT_LOG_CHANGE_TYPE_1 = 1;
    public static Integer CUSTOMER_ACCOUNT_LOG_CHANGE_TYPE_2 = 1;

    /**
     * 用户课程状态是否可用。，不可用；0，可用 1
     */
    public final static Integer CUSTOMER_COURSE_STATUS_0 = 0;
    public final static Integer CUSTOMER_COURSE_STATUS_1 = 1;

    /**
     * 用户课程关联表，是否开通课程
     */
    public final static Integer CUSTOMER_COURSE_IS_COURSE_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_COURSE_1 = 1;
    /**
     * 用户课程关联表，是否开通资料
     */
    public final static Integer CUSTOMER_COURSE_IS_DATUM_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_DATUM_1 = 1;
    /**
     * 用户课程关联表，是否开通题库
     */
    public final static Integer CUSTOMER_COURSE_IS_EXAMINATION_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_EXAMINATION_1 = 1;
    /**
     * 用户课程关联表，是否为限时课程，0-否，1-是
     */
    public final static Integer CUSTOMER_COURSE_IS_LIMIT_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_LIMIT_1 = 1;
    /**
     * 用户课程是否退课0-否，1-是
     */
    public final static Integer CUSTOMER_COURSE_IS_REFUND_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_REFUND_1 = 1;
    /**
     * 短信验证码类型， 1 注册 2 登录 3 忘记密码，4微信登录绑定手机号码，6，修改密码,8,账号注销 9渠道商查看
     */
    public final static Integer SMS_CODETYPE_1 = 1;
    public final static Integer SMS_CODETYPE_2 = 2;
    public final static Integer SMS_CODETYPE_3 = 3;
    public final static Integer SMS_CODETYPE_4 = 4;
    public final static Integer SMS_CODETYPE_6 = 6;
    public final static Integer SMS_CODETYPE_8 = 8;
    public final static Integer SMS_CODETYPE_9 = 9;
    /**
     * 短信验证码状态，1-已经使用，2-未使用
     */
    public final static Integer SMS_STATUS_1 = 1;
    public final static Integer SMS_STATUS_2 = 2;
    /**
     * 用户课程支付状态，是否购买，0-未购买，1-已购买，，可用户相关的资料，题库，视频等状态
     */
    public final static Integer CUSTOMER_COURSE_IS_PAY_0 = 0;
    public final static Integer CUSTOMER_COURSE_IS_PAY_1 = 1;

    /**
     * 0-默认购买,1-手动加的,3-渠道商,4-活动领取,5-免费课程
     */

    public final static Integer CUSTOMER_COURSE_TYPE_0 = 0;
    public final static Integer CUSTOMER_COURSE_TYPE_1 = 1;
    public final static Integer CUSTOMER_COURSE_TYPE_3 = 3;
    public final static Integer CUSTOMER_COURSE_TYPE_4 = 4;
    public final static Integer CUSTOMER_COURSE_TYPE_5 = 5;

    // 0-上课网用户,1-渠道商引流客户,2-后台创建用户，3-职业版用户,4-crm创建用户
    public final static Integer CUSTOMER_CHANNEL_USER_0 = 0;
    public final static Integer CUSTOMER_CHANNEL_USER_1 = 1;
    public final static Integer CUSTOMER_CHANNEL_USER_2 = 2;
    public final static Integer CUSTOMER_CHANNEL_USER_3 = 3;
    public final static Integer CUSTOMER_CHANNEL_USER_4 = 4;

    /**
     * 渠道商发送短信 1:查看渠道价 2: 查看余额
     */
    public final static Integer channel_code_sms_1 = 1;
    public final static Integer channel_code_sms_2 = 2;

    /**
     * 合同发送状态,1-未发送,2-已发送
     */
    public final static Integer SENT_STATUS_1 = 1;
    public final static Integer SENT_STATUS_2 = 2;

    /**
     * 合同签约状态,1-未签约,2-已签约
     */
    public final static Integer SIGN_STATUS_1 = 1;
    public final static Integer SIGN_STATUS_2 = 2;

    /**
     * 合同失效状态,1-未失效,2-已失效
     */
    public final static Integer INVALID_STATUS_1 = 1;
    public final static Integer INVALID_STATUS_2 = 2;

    /**
     * 合同状态,0-正常,1-删除
     */
    public final static Integer IS_DELETE_0 = 0;
    public final static Integer IS_DELETE_1 = 1;

    /**
     * 是否与crm同步，0-否，1-是
     */
    public final static Integer IS_CRM_SYN_0 = 0;
    public final static Integer IS_CRM_SYN_1 = 1;

    /**
     * 用户注册来源0-手机号码注册，1-qq登录，2-微信登录，3-新浪微博登录
     */
    public final static Integer CUSTOMER_SOURCE_0 = 0;
    public final static Integer CUSTOMER_SOURCE_1 = 1;
    public final static Integer CUSTOMER_SOURCE_2 = 2;
    public final static Integer CUSTOMER_SOURCE_3 = 3;

    /**
     * 推送token是否有效，0-无效，1-有效
     */
    public final static Integer PUSH_DEVICE_TOKEN_STATUS_0 = 0;
    public final static Integer PUSH_DEVICE_TOKEN_STATUS_1 = 1;
    /**
     * 消息推送类型，1-活动相关推送消息，2-订单相关推送消息，3-课程相关推送消息，4-直播相关推送消息，5-评论相关推送消息，
     */
    public final static Integer PUSH_TYPE_1 = 1;
    public final static Integer PUSH_TYPE_2 = 2;
    public final static Integer PUSH_TYPE_3 = 3;
    public final static Integer PUSH_TYPE_4 = 4;
    public final static Integer PUSH_TYPE_5 = 5;

    /**
     * 推送消息是否已经发送，0-未发送，1-已发送
     */
    public final static Integer PUSH_IS_SEND_0 = 0;
    public final static Integer PUSH_IS_SEND_1 = 1;
    /**
     * 推送消息是否已读，0-未读，1-已读
     */
    public final static Integer PUSH_IS_READ_0 = 0;
    public final static Integer PUSH_IS_READ_1 = 1;
    /**
     * 登录平台，ios-android-pc-h5
     */
    public static final String CUSTOMER_PLATFORM_ANDROID = "android";
    public static final String CUSTOMER_PLATFORM_IOS = "ios";
    public static final String CUSTOMER_PLATFORM_H5 = "h5";
    public static final String CUSTOMER_PLATFORM_PC = "pc";
    public static final String CUSTOMER_PLATFORM_BACKEND = "backend";
    public static final String CUSTOMER_PLATFORM_OFFLINE = "offline";
    public static final String CUSTOMER_PLATFORM_CHANNEL = "channel";
    public static final String CUSTOMER_PLATFORM_CRM = "crm";

}
